package com.jinhongone.pattern.behavior.state.before;

/**
 * @author jinho
 * @className Test
 * @description 测试类
 * @date 2025/4/16 14:26
 */
public class Test {
    public static void main(String[] args) {
        Lift lift = new Lift();
        lift.setState(ILift.OPENING_STATE);
        lift.open();
        lift.close();
        lift.run();
        lift.stop();
    }
}
